﻿namespace TA.Turbo.Controls
{
	/// <summary>
	/// Options for <see cref="GlobalControlReference"/> transfer direction.
	/// </summary>
	public enum ControlTransferDirection
	{
		/// <summary>
		/// Not transferred.
		/// </summary>
		None = 0, 
		/// <summary>
		/// Sent to the server.
		/// </summary>
		Post = 1, 
		/// <summary>
		/// Returned to the client.
		/// </summary>
		Return = 2, 
		/// <summary>
		/// Send to the server and back to the client.
		/// </summary>
		Both = Post | Return
	}
}